<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS字体属性</title>
    <style>
        /* .bold {
            font-weight: 700;
        }
        h2{
            font-family: 'Microsoft YaHei',Arial, Helvetica, sans-serif;
            font-size: 16px;
        }
        body{
            font-size: 16px;
        } */
        /* font: font-style font-weight font-size/line-height font-family; */
        /* font : italic 700 16px 'Microsoft yahei'; */
        div {
            text-decoration: underline;
        }
    </style>
</head>
<body>
    <div>
    <h2>一二三四</h2>
    <p>一二三四</p>
    <p>一二三四</p>
    <p>一二三四</p>
    <p>一二三四</p>
</div>
</body>
</html>